from flask import Flask,render_template
from pc1.bigdata import myfirstpc

app = Flask(__name__)

@app.route('/')
def index():
    return render_template('123/index.html')

@app.route('/boot_scrawler')
def boot_crawl():
    text = myfirstpc("https://news.imnu.edu.cn/info/1011/13635.htm")
    return text


if __name__ == "__main__":
    app.run(host='0.0.0.0',debug=True)
